package sjtu.ist.warehouse4ws.service;

import java.util.List;


import sjtu.ist.warehouse4ws.model.Role;


public interface RoleService {
	String addRole(Role role,int companyId);
	List<Role> getRoleListById(String id);
	List<Role> getRoleList();
	List<Role> getRoleListbyGroupId(String groupId, int companyId);
	List<Role> getRoleListByUid(String uid);
	List<Role> getRoleListByGroupAndVersion(String groupId,String versionId);
}
